package cn.infrabase.crypto.digest;

import cn.infrabase.Errors;
import cn.infrabase.Version;
import cn.infrabase.crypto.CryptoException;

/**
 * @author Weimin Gao
 * @since 1.0.0
 **/
public class DigestAlgorithmNotSupportException extends CryptoException {


	private static final long serialVersionUID = Version.SID;

	/**
	 * 构造函数。
	 *
	 * @param algorithm 摘要算法。
	 */
	public DigestAlgorithmNotSupportException(String algorithm) {
		super(Errors.DIGEST_ALGORITHM_NOT_SUPPORT, algorithm);
	}
}
